#define _CRT_SECURE_NO_WARNINGS 1
#include <iostream>
using namespace std;
#include<vector>
int main()
{
    class Solution {
    public:
        int removeDuplicates(vector<int>& nums) {
            int length = nums.size();
            if (length == 0) return 0;
            int slow = 0, fast = 1;
            while (fast < length) {
                if (nums[fast] != nums[slow]) {
                    nums[++slow] = nums[fast];
                }
                fast++;
            }
            return slow + 1;
        }
    };

    cout << 1;

	return 0;
}